<%= error_messages_for 'project' %>

<!--[form:project]-->
<p><label for="project_name">Name</label><br/>
<%= text_field 'project', 'name'  %></p>

<p><label for="project_scm_type">Scm type</label><br/>
<%= text_field 'project', 'scm_type'  %></p>

<p><label for="project_scm">Scm</label><br/>
<%= text_field 'project', 'scm'  %></p>

<p><label for="project_scm_username">Scm username</label><br/>
<%= text_field 'project', 'scm_username'  %></p>

<p><label for="project_scm_password">Scm password</label><br/>
<%= password_field 'project', 'scm_password'  %></p>

<p><label for="project_hosted">Hosted</label><br/>
<select id="project_hosted" name="project[hosted]"><option value="false">False</option><option value="true" selected>True</option></select></p>

<p><label for="project_architecture_id">Architecture</label><br/><%= 
	@architectures = Architecture.find(:all, :order => "name", :conditions => ["user_id = ?",session[:user_id]])
	collection_select(:project, :architecture_id, @architectures, :id, :name) 
%></p>
<!--[eoform:project]-->

